//
//  YWKLoginViewController.h
//  YWKUser
//
//  Created by renyi on 3/23/16.
//  Copyright © 2016 iCareTech. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YWKUser.h"
extern NSString * const YWKShowLoginNotificateion;

@protocol YWKLoginViewControllerDelegate <NSObject>

- (void)successLoginWithUser:(YWKUser *)user;

@end

@interface YWKLoginViewController : UIViewController
@property (nonatomic, strong)id <YWKLoginViewControllerDelegate> delegate;

/**
 *	@brief
 *
 *	@param prompt:需要在VC加载出来时显示的提示信息；nil表示不需要显示提示信息
 *
 *	@return
 */
- (instancetype)initWithPrompt:(NSString *)prompt;

- (void)clearUserAccont;
@end
